package com.xiaren.service;

import com.xiaren.Application;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * @Description: TODO
 * @ClassName: rabbitMQ接收
 * @Auther: Administrator
 * @Date: 2019/1/4 17:12
 * @Version: 0.0.1
 */
@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest(classes = Application.class)
@ActiveProfiles("rabbitmq_profiles")
public class rabbitMQ接收 {

    @Test
    public void jieshou(){
        System.out.println("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx");

        try {
            Thread.sleep(1000000000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
